package br.ufrn.sigtcc.data.interfaces;

import java.util.List;

import br.ufrn.sigtcc.model.entidades.Noticia;
import br.ufrn.sigtcc.util.exceptions.BDException;

//@Local
public interface IDAONoticia extends IGenericDAO<Noticia, Long> {
	
	public List<Noticia> listarNoticias() throws BDException;
	public void cadastrarNoticia(Noticia noticia) throws BDException, IllegalArgumentException;
	public void atualizarNoticia(Noticia noticia) throws BDException, IllegalArgumentException;
	public void removerNoticia(Noticia noticia) throws BDException, IllegalArgumentException;
	public void homologarNoticia(Noticia noticia) throws BDException, IllegalArgumentException;
}
